package com.singulee.carschool.service;

import com.singulee.carschool.pojo.Student;
import com.singulee.carschool.mapper.StudentMapper;
import com.singulee.carschool.pojo.Teacher;
import com.singulee.carschool.pojo.User;
import com.singulee.carschool.util.StaticInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletRequest;
import java.sql.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;



public interface StudentService {


    public Student getByPhone(String phone);
    public boolean updatePassword(String phone, String password);
    public Map<String, Object> insert(Student student);
    public Map<String, Object> selectByCondiction(Map map);
    public Map<String, Object> selectStudent(Student student);
    public Map<String, Object> updateStudent(Student student);
    public Map<String, Object> getMyStudent(Map map, HttpServletRequest request);
    public Map<String, Object> updateStudentStaute(Map map);
    public Map<String, Object> endStudent(Map map);


}
